package pers.gxm.learning.winter.service.impl;

import pers.gxm.learning.winter.core.annotation.WinterBean;
import pers.gxm.learning.winter.core.annotation.WinterDI;
import pers.gxm.learning.winter.dao.UserDAO;
import pers.gxm.learning.winter.service.UserService;

@WinterBean
public class UserServiceImpl implements UserService {
    @WinterDI
    private UserDAO userDAO;
    public UserServiceImpl(){
        System.out.println("serviceImpl构造成功");
    }
    @Override
    public void show(){
        System.out.println("userDAO非空！" + userDAO);
    }
}
